package org.jeecg.modules.coupon.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: box_coupon
 * @Author: jeecg-boot
 * @Date:   2023-05-27
 * @Version: V1.0
 */
@Data
@TableName("box_coupon")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="box_coupon对象", description="box_coupon")
public class BoxCoupon implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**优惠券名称*/
	@Excel(name = "优惠券名称", width = 15)
    @ApiModelProperty(value = "优惠券名称")
    private String couponname;
	/**状态:0=无门槛,1=满减*/
	@Excel(name = "状态:0=无门槛,1=满减", width = 15, dicCode = "coupon_type")
	@Dict(dicCode = "coupon_type")
    @ApiModelProperty(value = "状态:0=无门槛,1=满减")
    private String typetag;
	/**面值金额*/
	@Excel(name = "面值金额", width = 15)
    @ApiModelProperty(value = "面值金额")
    private Integer amount;
	/**满足金额*/
	@Excel(name = "满足金额", width = 15)
    @ApiModelProperty(value = "满足金额")
    private Integer mzamount;
	/**添加时间*/
	@Excel(name = "添加时间", width = 15)
    @ApiModelProperty(value = "添加时间")
    private Integer addTime;
	/**过期时间*/
	@Excel(name = "过期时间", width = 15)
    @ApiModelProperty(value = "过期时间")
    private Integer endTime;
}
